package string;

public class SearchStringEmp {
    public static void main(String[] args) {
        String strPrig = "Goodle Runoob Taobao";
        int intIdex=strPrig.indexOf("Runoob");
        if(intIdex!=-1){
            System.out.println("没有找到字符串Runoob");
        }else{
            System.out.println("Runoob 字符串位置"+intIdex);
        }
    }
}
